import axios from 'axios';
import BaseURL from './api';

export default class Service {
    static async getAbout() {
        const res = await axios.get(
            BaseURL+'/about'
        )
        return res;
    }
    static async updateAbout(data) {
        const res = await axios.post(
            BaseURL+'/about',
            data
        )
        return res;
    }
}
